package com.share.example.stock.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.example.stock.model.db.TradeDate;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2023-07-18
 */
public interface ITradeDateService extends IService<TradeDate> {

    List<String> downDate();

    String getYesterday(String date);

    Map<String, String> initTradeDate();

    boolean isTradeDay(Date date);

    String getHistoryDay(String strDate, int i);

    List<TradeDate> listDateNotContainStartAndEnd(String startDate, String endDate);

    List<String> listNotInTradeDate(Set<String> keySet);

    List<String> filterSkipCodesByCode(String code, List<String> emptyDataList);
}
